package com.wentao.thisFacade.common.enums.business;

import com.wentao.thisCommon.common.EnumsBase;

public enum InviteCodeCheck implements EnumsBase {

    ADDRESS_CONSISTENT("T","地址一致,在区域内"),
    NOT_ADDRESS_CONSISTENT("F","地址不一致,在区域外"),
    OUT_OF_ZONE("O","不在区域内"),
    IN_THE_ZONE("I","在区域内"),
    NO_THE_CITY_AGENCY("N","没有市代理"),
    HAVE_THE_CITY_AGENCY("H","有市代理"),
    INVITATION_CODE_INEXISTENCE("C","邀请码不存在"),
    THE_ADDRESS_IS_WRONG("W","所填地址有误,查询不到数据");


    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    private String code;
    private String message;

    InviteCodeCheck(String code, String msg) {
        this.code = code;
        this.message = msg;
    }
}
